package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：设备管理-预警设置
 * @Date：Create by 2023-12-04 15:28:53
 */
@Data
@ToString
@Accessors(chain = true)
@TableName("ecp_tt_device_warning_threshold")
public class DeviceWarningThresholdEntity extends BaseTenantEntity {

    private static final long serialVersionUID = 1L;

    /* 预警Id */
    private String deviceWarningId;

    /* 设备id */
    private String deviceId;

    /*设备参数Id,对应  ecp_tt_physical_model 的id*/
    private String modelId;

    /* 判断规则(1:大于等于,2:小于等于) */
    private String judgeRule;

    /* 阈值数值 */
    private String thresholdValue;

}
